SRFM\Inc\Form_Submit D

Total Complexity 177
Dependencies 11
Dependents 1
Total lines 1,197
Lines of code 739
Logical lines of code 371
Comment lines 290
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
D
24
59 141
handle_form_entry()
C
29
24 135
send_email()
A
36 12 84
field_unique_validation()
A
44 12 42
prepare_submission_data()
A
45 12 38
recaptcha_error_message()
A
39 6 73
process_form_fields()
A
46 8 38
add_from_data_in_header()
S
58 8 12
parse_email_notification_template()
S
52 7 21
validate_turnstile_token()
S
49 5 33
validate_hcaptcha_token()
S
49 5 33
submit_form_permissions_check()
S
52 5 27
srfm_global_sidebar_enabled()
S
59 5 14
srfm_global_update_allowed_block()
S
59 4 14
permissions_check()
S
69 2 6
register_custom_endpoint()
S
64 1 11
__construct()
S
68 1 7
recaptcha_error_response()
S
65 1 10